projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580a262
)
* automated/ruby-mode-tests.el
author
Dmitry Gutov
<dgutov@yandex.ru>
Sun, 27 Jan 2013 22:47:34 +0000
(
02:47
+0400)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Sun, 27 Jan 2013 22:47:34 +0000
(
02:47
+0400)
(ruby-indent-spread-args-in-parens): New test.
test/automated/ruby-mode-tests.el
patch
|
blob
|
history
diff --git
a/test/automated/ruby-mode-tests.el
b/test/automated/ruby-mode-tests.el
index 4cc9c590c201959b9bd85a1ee9687c9bd273f469..42c59a1f3f0629e736c090547aece0de28d728b3 100644
(file)
--- a/
test/automated/ruby-mode-tests.el
+++ b/
test/automated/ruby-mode-tests.el
@@
-237,6
+237,18
@@
VALUES-PLIST is a list with alternating index and value elements."
|end
|statement"))
+(ert-deftest ruby-indent-spread-args-in-parens ()
+ (let ((ruby-deep-indent-paren '(?\()))
+ (ruby-should-indent-buffer
+ "foo(1,
+ | 2,
+ | 3)
+ |"
+ "foo(1,
+ | 2,
+ | 3)
+ |")))
+
(ert-deftest ruby-move-to-block-stops-at-indentation ()
(ruby-with-temp-buffer "def f\nend"
(beginning-of-line)